package com.dc.ftp.test.main;



import android.content.Intent;
import android.os.Bundle;

import android.view.View;
import android.widget.Toast;
import com.dc.ftp.R;
import com.dc.ftp.base.SPBaseActivity;
import com.dc.ftp.test.FragmentTestActivity;


public class MainTestActivity extends SPBaseActivity {

    @Override
    protected void onCreate(Bundle arg0) {
        super.onCreate(arg0);
        setContentView(R.layout.test_menu);


    }

    @Override
    protected void onResume() {
        super.onResume();
    }

    @Override
    public void initView() {

    }

    @Override
    public void initData() {

    }

    @Override
    public void initEvent() {

    }

    /**
     * 采用映射的写法，只要在xml中onclick传入方法，这里定一个方法接受
     * view就能过去到这个事件
     * @param view
     */
    public void fragmentonclick(View view) {
        //Toast.makeText(this,"onclick",Toast.LENGTH_LONG).show();
        Intent intent=new Intent(this, FragmentTestActivity.class);
        startActivity(intent);
    }

}



